﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using PX;
using PX.Department;

public partial class Admin_DepartmentMT : PX.ShowLayer.BaseView
{
	#region 属性

	/// <summary>
	/// 单位控制类
	/// </summary>
	private DepartmentComponent clsDepartmentComp = new DepartmentComponent();

	/// <summary>
	/// 单位视图类
	/// </summary>
	private DepartmentView clsDepartmentView = new DepartmentView();

	#endregion 属性

	public Admin_DepartmentMT()
		: base("idTotal")
	{
		clsDepartmentView.Page = Page;
	}

	protected override Tony.ShowLayer.FormView GetViewType()
	{
		return clsDepartmentView;
	}

	protected override void OnInit(EventArgs e)
	{
		AddTableColumn(new Tony.Structs.TableShowColumn("名称", "Name"));
		AddTableColumn(new Tony.Structs.TableShowColumn("上级单位", "FatherName"));

		base.OnInit(e);
	}

	protected void Page_Load(object sender, EventArgs e)
	{

	}
}
